package 实验.实验四;

public class Rectangle extends Shape {
    public double length;
    public double width;
    public Rectangle(double length, double width) {
        this.length = length;
        this.width = width;
        this.area = length*width;
    }
}
